/* 页面基础样式 */
page {
  background-color: #f5f6fa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  height: 100vh;
  overflow: hidden;
}


/* 主容器 */
.edit-container {
  padding: 40rpx 32rpx;
  min-height: calc(100vh - 88rpx);
}

/* 头像区域 */
.avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60rpx;
}

.avatar-wrapper {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.avatar-wrapper:hover {
  transform: scale(1.05);
}

.avatar-image {
  width: 200rpx;
  height: 200rpx;
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.avatar-wrapper:hover .avatar-overlay {
  opacity: 1;
}

.avatar-text {
  color: white;
  font-size: 24rpx;
}

/* 表单区域 */
.form-section {
  background: white;
  border-radius: 24rpx;
  padding: 40rpx;
  box-shadow: 0 8rpx 30rpx rgba(0, 0, 0, 0.08);
}

.form-item {
  margin-bottom: 40rpx;
}

.form-item:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 28rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 16rpx;
}

.custom-field {
  background: #f8f9ff;
  border-radius: 16rpx;
  padding: 24rpx;
  font-size: 28rpx;
  color: #333;
}

.custom-field::placeholder {
  color: #999;
}

/* 保存按钮 */
.save-button {
  margin-top: 60rpx;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 30%;
  color: white;
  font-size: 32rpx;
  font-weight: 600;
  transition: transform 1s ease;
}

.save-button:active {
  transform: scale(0.98) ;
}

//点击样式去除
.custom-nav-hover {
  color: inherit !important;
}